﻿using System;
namespace Maticsoft.Model
{
	/// <summary>
	/// UserAdmin:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class UserAdmin
	{
		public UserAdmin()
		{}
		#region Model
		private int _id;
		private string _loginname;
		private string _password;
		private string _dealersid;
		private string _username;
		private string _mobile;
		private string _email;
		private DateTime? _createtime;
		private DateTime? _lastlogintime;
		private int? _logincount;
		private int? _dealersgrade;
		private string _userstate;
		private string _description;
		private int? _audituser;
		private DateTime? _audittime;
		/// <summary>
		/// 用户ID
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 登录名
		/// </summary>
		public string loginname
		{
			set{ _loginname=value;}
			get{return _loginname;}
		}
		/// <summary>
		/// 密码
		/// </summary>
		public string password
		{
			set{ _password=value;}
			get{return _password;}
		}
		/// <summary>
		/// 关联经销商—上级父经销商
		/// </summary>
		public string dealersid
		{
			set{ _dealersid=value;}
			get{return _dealersid;}
		}
		/// <summary>
		/// 用户姓名
		/// </summary>
		public string username
		{
			set{ _username=value;}
			get{return _username;}
		}
		/// <summary>
		/// 手机号
		/// </summary>
		public string mobile
		{
			set{ _mobile=value;}
			get{return _mobile;}
		}
		/// <summary>
		/// 电子邮箱
		/// </summary>
		public string email
		{
			set{ _email=value;}
			get{return _email;}
		}
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime? createtime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
		/// 最后登录时间
		/// </summary>
		public DateTime? lastlogintime
		{
			set{ _lastlogintime=value;}
			get{return _lastlogintime;}
		}
		/// <summary>
		/// 登录次数
		/// </summary>
		public int? logincount
		{
			set{ _logincount=value;}
			get{return _logincount;}
		}
		/// <summary>
		/// 关联经销商等级表DealersGrade
		/// </summary>
		public int? dealersgrade
		{
			set{ _dealersgrade=value;}
			get{return _dealersgrade;}
		}
		/// <summary>
		/// 审核状态  正常/已锁定
		/// </summary>
		public string userstate
		{
			set{ _userstate=value;}
			get{return _userstate;}
		}
		/// <summary>
		/// 描述备注
		/// </summary>
		public string description
		{
			set{ _description=value;}
			get{return _description;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? audituser
		{
			set{ _audituser=value;}
			get{return _audituser;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? audittime
		{
			set{ _audittime=value;}
			get{return _audittime;}
		}
		#endregion Model

	}
}

